package cn.simple.manager.todo;

import cn.simple.manager.Repository.UserResponsitory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService  {
    @Autowired
    UserResponsitory userResponsitory;

    public User getByuniqueId(String uniqueId){

        return userResponsitory.getByNameOrMobile(uniqueId);
    }
}
